<!--conf
<sample>
              <product version="1.4" edition="pro"/>
                     <modifications>
                            <modified date="070101"/>
                     </modifications>
               </sample>
 --> 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>
<head>
	<title>Counter eXcell</title>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<link rel="stylesheet" type="text/css" href="../../../codebase/dhtmlx.css"/>
	<script src="../../../codebase/dhtmlx.js"></script>
</head>

<body>
	
	<h1>Extra Excell - Counter</h1>
	<p>
		Here is an example of implementation of counter in dhtmlxGrid using eXcell type "cntr". 
	</p>
	<p>
		<strong>The corresponding  cell value in XML should be any</strong>
	</p>
	<div id="gridbox" style="width:500px;height:270px;background-color:white;"></div>

<script>
	mygrid = new dhtmlXGridObject('gridbox');
	mygrid.setImagePath("../../../codebase/imgs/");
	mygrid.setHeader("&nbsp;,Book Title,Author,Price,In Store,Shipping,Bestseller,Date of Publication");
	mygrid.setInitWidths("40,150,120,80,80,80,80,200")
	mygrid.setColAlign("right,left,left,right,center,left,center,center")
	mygrid.setColTypes("cntr,ed,ed,price,ch,co,ra,ro");
	mygrid.setColSorting("na,str,str,int,str,str,str,date")
	mygrid.setColumnColor("#CCE2FE")
    mygrid.init();
    mygrid.setSkin("dhx_skyblue")
	mygrid.splitAt(1);
	mygrid.loadXML("../common/grid.xml");
</script>

</body>
</html>
